package com.punai.standard.domain.template;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.punai.common.utils.converter.FeeTypeConverter;
import lombok.Data;

import java.math.BigDecimal;

@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
@Data
public class StaSubpkLinkConsumeExcel {
    private String id;
    private String address;
    @ExcelProperty("地区")
    private String addressName;
    private String subpkItemId;
    @ExcelProperty("费用项编码")
    private String code;
    @ExcelProperty("费用项名称")
    private String subpkItemName;
    private String linkGxFeatureId;
    @ExcelProperty("特征描述名称")
    private String featureDescribe;
    private String categoriesId;
    @ExcelProperty("类别名称")
    private String categoriesName;
    @ExcelProperty("参考耗量")
    private BigDecimal referenceConsume;
    @ExcelProperty("自定义耗量")
    private BigDecimal realityConsume;
    @ExcelProperty(value = "类型",converter = FeeTypeConverter.class)
    private String type;
}
